/* fmStart.java 
* Created on Jan 14, 2013 
* Author:Mr.Viet
* Phone: 01683430426
* Email: phamvanvietcdhd@gmail.com
*/ 
package ServerAdmin; 

import java.awt.Dimension;

import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JTable;

import net.miginfocom.swing.MigLayout;

public class fmAdmin extends JPanel{
	private JLabel lbl1;
	private JTable table;
	private JButton btnAdd,btnChange,btnDel;
	public fmAdmin() {
		this.setLayout(new MigLayout());
		this.lbl1 = new JLabel("ADMINNISTRATION");
		
		this.table = new JTable();
		
		this.btnAdd = new JButton("Add New");
		this.btnChange = new JButton("Change Password");
		this.btnDel = new JButton("Delete");
		
		this.add(this.lbl1,"center");
		this.add(new JLabel(""),"wrap");
		this.add(this.table,"wrap");
		//Dinh Dang kick co cua ca nut
		this.table.setMinimumSize(new Dimension(700,400));
//		this.btnStart.setMinimumSize(new Dimension(100,50));
//		this.btnStop.setMinimumSize(new Dimension(100,50));
		
		JPanel p = new JPanel();
		p.setLayout(new MigLayout());
		p.add(this.btnAdd);
		p.add(this.btnChange);
		p.add(this.btnDel);
		
		this.add(p,"center");
//		
	}
}
